﻿@using LiUTrading.MvcHelpers
@model LiUTrading.Models.User
@{
    ViewBag.Title = "Details";
}
<fieldset>
    <legend>User</legend>
    <div class="display-label">
        LiuID:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LiuID)
    </div>
    <div class="display-label">
        First Name:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>
    <div class="display-label">
        Last Name:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>
    <div class="display-label">
        Address:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Address)
    </div>
    <div class="display-label">
        Phone Number:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PhoneNumber)
    </div>
    
</fieldset>
<div class="edit-link-field">
        @Html.DialogFormLink("Edit Profile", Url.Action("Edit", new { id = Model.UserId }), "EditProfile", "Edit Profile", "userinfo", Url.Action("MyPage", "Account"))
    </div>
<div id="dialog-edit-Profile" title="Edit Profile" style="overflow: hidden;">
</div>
